package com.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.Map;

/**
 * @author: stefanie-zy
 * @time: 2024/1/24-15:48
 * @description: Vo-公共继承
 */

@Data
@Schema(name = "Vo-公共继承")
@Accessors(chain = true)
public class CoreVo {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "创建名称")
    private String createName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(description = "更新名称")
    private String updateName;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "自定义参数")
    private Map<String, Object> params;
}
